home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 09d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.5 KB  |  60 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gKnobState, qtChan
  3.   puppetSprite(48, 1)
  4.   qtChan = 11
  5.   sprite(qtChan).volume = 256
  6.   preLoad(qtChan - 1)
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9.   sprite(11).visible = 0
  10.   sprite(12).visible = 0
  11.   gKnobSprite = 14
  12.   gSendMovie = "09d"
  13.   gKnobState = 1
  14.   puppetSprite(gKnobSprite, 1)
  15.   setUpKnob()
  16. end
  17.  
  18. on idle
  19.   global gCursorReady
  20.   if gCursorReady = 1 then
  21.     cursor(200)
  22.     checkCursors()
  23.     set the locH of sprite 48 to the mouseH
  24.     set the locV of sprite 48 to the mouseV
  25.     updateStage()
  26.   end if
  27. end
  28.  
  29. on checkCursors
  30.   global gMagCursor
  31.   set the castNum of sprite 48 to the number of member "curs1"
  32.   if rollOver(5) then
  33.     set the castNum of sprite 48 to the number of member "hotCursor"
  34.   end if
  35.   if rollOver(6) then
  36.     set the castNum of sprite 48 to the number of member "curs1"
  37.   end if
  38.   repeat with i = 15 to 17
  39.     if rollOver(i) then
  40.       set the castNum of sprite 48 to the number of member "hotCursor"
  41.     end if
  42.   end repeat
  43.   if rollOver(18) or rollOver(19) then
  44.     set the castNum of sprite 48 to the number of member "hotCursor"
  45.   end if
  46.   if rollOver(28) then
  47.     set the castNum of sprite 48 to the number of member "hotCursor"
  48.   end if
  49.   repeat with i = 30 to 31
  50.     if rollOver(i) then
  51.       set the castNum of sprite 48 to the number of member "hotCursor"
  52.     end if
  53.   end repeat
  54.   repeat with i = 40 to 42
  55.     if rollOver(i) then
  56.       set the castNum of sprite 48 to the number of member "hotCursor"
  57.     end if
  58.   end repeat
  59. end
  60.